package com.lintf.distributed.transaction.inventory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lintf.distributed.transaction.inventory.entity.Inventory;

/**
* @author lintf
* @description 针对表【t_inventory】的数据库操作Service
* @createDate 2025-06-13 10:28:04
*/
public interface InventoryService extends IService<Inventory> {

    boolean deductStock(Long productId, Integer quantity);

}
